package com.example.crm.mapper;

import com.example.crm.entity.Chance;
import com.example.crm.entity.Lost;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LostMapper {

    public List<Lost> findAll(@Param("lstCustName") String lstCustName, @Param("lstCustManagerName")String lstCustManagerName,@Param("current") Integer current,@Param("pageSize") Integer pageSize);


    // 根据编号查询
    public Lost findByLstId(Integer lstId);

    // 修改信息
    public int update(Lost lost);

    public int count(@Param("lstCustName") String lstCustName, @Param("lstCustManagerName")String lstCustManagerName);


}
